package com.qding.park.adapter.report.controller.v1.form;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

public   class  EventBody {
    
    @NotEmpty(message="parkCode不能为空")
    protected String parkCode;
    
    @NotEmpty(message="carNum不能为空")
    protected String carNum;

    /**
     * @Field @alarmTime : TODO(报警时间)
     */
    private Date  alarmTime;
    
//    @NotEmpty(message="outDevice不能为空")
    /**
     * @Field @outDevice : TODO(出场设备)
     */
    private String outDevice;
    
    /**
     * @Field @enterTime : TODO(入场时间)
     */
    private Date  enterTime;
    
    /**
     * @Field @enInDevice : TODO(入场设备)
     */
    private String enInDevice;
    
    public String getParkCode() {
        return parkCode;
    }

    
    public void setParkCode(String parkCode) {
        this.parkCode = parkCode;
    }

    
    public String getCarNum() {
        return carNum;
    }

    
    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }


    
    public Date getAlarmTime() {
        return alarmTime;
    }


    
    public void setAlarmTime(Date alarmTime) {
        this.alarmTime = alarmTime;
    }


    
    public String getOutDevice() {
        return outDevice;
    }


    
    public void setOutDevice(String outDevice) {
        this.outDevice = outDevice;
    }


    
    public Date getEnterTime() {
        return enterTime;
    }


    
    public void setEnterTime(Date enterTime) {
        this.enterTime = enterTime;
    }


    
    public String getEnInDevice() {
        return enInDevice;
    }


    
    public void setEnInDevice(String enInDevice) {
        this.enInDevice = enInDevice;
    }


    @Override
    public String toString() {
        return "EventBody [parkCode=" + parkCode + ", carNum=" + carNum + ", alarmTime=" + alarmTime + ", outDevice="
                + outDevice + "]";
    }

    

    
    
}
